c program to find sum of n numbers using for loop